package com.briup.gxqd.controller;

import com.briup.gxqd.utils.Message;
import com.briup.gxqd.utils.MessageUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: qxqd
 * @description: 车辆控制器
 * @author: rendc
 * @create: 2020-06-11 16:41
 **/
@RestController
@RequestMapping("car")
@Api(description = "武汉车辆分布数据管理接口")

public class CarController {
    //5. 武汉车辆分布
    @ApiOperation(value = "武汉车辆分布")
    @GetMapping("findAllCar")
    public Message findAllCar() {
        String url = "https://a.amap.com/Loca/static/mock/sfcars.csv";
        return MessageUtil.success("success", url);
    }
}















